﻿	      <?php include("conn.php");
             mysql_query('SET NAMES UTF8'); 

	  

class MyPrizeBean
{
	public $zileimu;
	function __construct($zileimu)
	{
		$this->zileimu      = $zileimu;
		
	}
}


 
	$rert30=mysql_query("select *from zifenlei where fenleiid='".$_REQUEST['leimuid']."' ");
	
	$prize = array();
	
while($rowf=mysql_fetch_array($rert30))
{
 
			$prize[] = new MyPrizeBean($rowf['name']);
			
}
		
	

echo json_encode($prize);


?>